package com.hyq.tactics;
/**
* @ClassName: Context 
* @Description: 计算器总控-关联上下文
* @author Janus
 */
public class Context {
	
	private Calculator cal=null;
	
	public Context(Calculator _cal){
		this.cal=_cal;
	}
	/*
	 * 计算
	 */
	public int exec(int a,int b){
		return this.cal.exec(a, b);
	}
}
